.vaccine-statistics {
    padding: 20px;
    background-color: #f5f7fa;
    min-height: 100vh;
}

.page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.page-header h1 {
    color: #303133;
    margin: 0;
    font-size: 24px;
    font-weight: 600;
}

.update-time {
    color: #909399;
    font-size: 14px;
}

/* 卡片列间隔 */
.card-col {
    margin-bottom: 18px;
}

/* 统计卡片样式 */
.summary-cards {
    margin-bottom: 24px;
}

.stats-card {
    border-radius: 12px;
    border: none;
}

.card-content {
    display: flex;
    align-items: center;
    padding: 16px 0;
}

.card-icon {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 16px;
    font-size: 20px;
    color: white;
}

.card-icon.total {
    background: #409eff;
}

.card-icon.normal {
    background: #67c23a;
}

.card-icon.low {
    background: #e6a23c;
}

.card-icon.high {
    background: #f56c6c;
}

.card-info {
    flex: 1;
}

.card-value {
    font-size: 24px;
    font-weight: 700;
    color: #303133;
    line-height: 1;
    margin-bottom: 8px;
}

.card-label {
    font-size: 14px;
    color: #909399;
}

/* 图表区域 */
.chart-row {
    margin-bottom: 24px;
}

.chart-card {
    border-radius: 12px;
    border: none;
}

.card-header {
    display: flex;
    align-items: center;
    font-weight: 600;
    color: #303133;
}

.card-header .el-icon {
    margin-right: 8px;
}

.chart-container {
    min-height: 300px;
}

/* 规格列表 */
.spec-list {
    space-y: 16px;
}


.empty-data {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 200px;
}

/* 生产商列表 - 与规格列表完全一致 */
.manufacturer-list {
    space-y: 16px;
}

.manufacturer-item {
    display: flex;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
}

.manufacturer-item:last-child {
    border-bottom: none;
}

.manufacturer-name {
    flex: 1;
    font-size: 14px;
    color: #606266;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.manufacturer-value {
    width: 60px;
    text-align: right;
    font-size: 14px;
    color: #909399;
    margin: 0 12px;
}

.manufacturer-percentage {
    width: 50px;
    text-align: right;
    font-size: 12px;
    color: #409eff;
    font-weight: 500;
    margin: 0 12px;
}

.manufacturer-progress {
    flex: 0 0 100px;
}

/* 卡片头部操作区 */
.card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-weight: 600;
    color: #303133;
}

.card-header .el-icon {
    margin-right: 8px;
}

.card-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.page-info {
    font-size: 12px;
    color: #909399;
    min-width: 40px;
    text-align: center;
}

.indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #dcdfe6;
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background-color: #409eff;
    transform: scale(1.2);
}

.indicator:hover {
    background-color: #a0cfff;
}

/* 库存异常疫苗卡片样式 */
.warning-cards {
    margin-bottom: 24px;
}

.warning-card {
    border-radius: 12px;
    padding-bottom: 5px;
    background: linear-gradient(135deg, #fdf6ec 0%, #fff 50%);
}

.warning-cards {
    border-radius: 12px;
    padding-bottom: 5px;
    background: linear-gradient(135deg, #fee 0%, #fff 50%);
}

.warning-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    font-weight: 600;
    color: #f56c6c;
}

.warning-header .el-icon {
    font-size: 18px;
}

.warning-content {
    space-y: 16px;
}

.warning-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    background: #fff;
    border: 1px solid #fde2e2;
    border-radius: 8px;
    margin-bottom: 5px;
    transition: all 0.3s ease;
}

.warning-item:hover {
    box-shadow: 0 2px 8px rgba(245, 108, 108, 0.1);
    transform: translateY(-2px);
}

.vaccine-info {
    flex: 1;
}

.vaccine-name {
    font-size: 16px;
    font-weight: 600;
    color: #f56c6c;
    margin-bottom: 8px;
}

.vaccine-details {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    flex-wrap: wrap;
}

.manufacturer {
    font-size: 14px;
    color: #606266;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 8px;
}

.header-right {
    display: flex;
    align-items: center;
}

.vaccine-details .el-tag {
    border-radius: 4px;
}

.storage-info {
    display: flex;
    gap: 16px;
    font-size: 12px;
    color: #909399;
}

.storage-condition {
    color: #e6a23c;
}

.validity-period {
    color: #67c23a;
}

.warning-actions {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
}

/* 空状态样式 */
.no-warning {
    text-align: center;
    padding: 40px 20px;
    color: #909399;
}

.no-warning .el-icon {
    font-size: 48px;
    color: #67c23a;
    margin-bottom: 16px;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .warning-item {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .warning-actions {
        justify-content: flex-end;
    }

    .vaccine-details {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }

    .storage-info {
        flex-direction: column;
        gap: 4px;
    }
}